<?php /* Smarty version 2.6.18, created on 2010-06-08 15:48:09
         compiled from bao_tri_sanphamthauchi.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array('title' => 'Bao tri san pham thau chi')));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="" method="post" name ="tongquat" target="_self">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>
  <tr>
    <td nowrap="nowrap" width="15%"><?php echo $this->_tpl_vars['lbl_masanpham']; ?>
</td>
    <td colspan="3" style="color:#FF0000"><input name="ODTYPE" id="ODTYPE" type="text" style="background:<?php echo $this->_tpl_vars['colormasanpham']; ?>
" value="<?php echo $this->_tpl_vars['ODTYPE']; ?>
" size="20" maxlength="10" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> readonly="readOnly"<?php endif; ?>/>
        *      
        <input type="submit" name="find" value="    " id="replacement_find" <?php if ($this->_tpl_vars['activefield'] == 'enabled'): ?> disabled="disabled"<?php endif; ?> /></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_tensanpham']; ?>
</td>
    <td colspan="3"><span style="color:#FF0000">
      <input name="ODDESC" type="text" style="background:<?php echo $this->_tpl_vars['colortensanpham']; ?>
" value="<?php echo $this->_tpl_vars['ODDESC']; ?>
" size="50" maxlength="50" />
    *</span></td>
    </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_loaitiente']; ?>
</td>
    <td><select name="CURCODE" size="1" >
			<?php $_from = $this->_tpl_vars['CURCODE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['curr']):
?>
			<option value="<?php echo $this->_tpl_vars['curr']; ?>
" <?php if ($this->_tpl_vars['curr'] == $this->_tpl_vars['activeCURCODE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['curr']; ?>
</option>
		<?php endforeach; endif; unset($_from); ?>
		</select>	</td>
    <td width="15%"><?php echo $this->_tpl_vars['lbl_cachtralai']; ?>
</td>
    <td><select name="INTPMT" size="1" style="width:150px;" >

      <?php $_from = $this->_tpl_vars['INTPMT']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>

      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeINTPMT']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
 
	  <?php endforeach; endif; unset($_from); ?>
 
    </select>    </td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_kyhanlai']; ?>
</td>
    <td><input name="INTERM" id="INTERM" type="text" value="<?php echo $this->_tpl_vars['INTERM']; ?>
" style="background:<?php echo $this->_tpl_vars['colorkyhanlai']; ?>
" size="3" maxlength="3" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
        <span style="color:#FF0000">*</span>
        <select name="INTRMCD" size="1" style="width:100px;" >
    <?php $_from = $this->_tpl_vars['INTRMCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeINTRMCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
   <?php endforeach; endif; unset($_from); ?>
        </select>    </td>
    <td><?php echo $this->_tpl_vars['lbl_cosonam']; ?>
</td>
    <td><select name="YEARBS" size="1" style="width:150px;" >
      
      
      <?php $_from = $this->_tpl_vars['YEARBS']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
	  	
      
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['activeYEARBS']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>
      
      
	  <?php endforeach; endif; unset($_from); ?>
    
    
    </select>    </td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_hanmuc']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="ODLIMIT" type="text" style="background:<?php echo $this->_tpl_vars['colorhanmuc']; ?>
" value="<?php echo $this->_tpl_vars['ODLIMIT']; ?>
" size="20" maxlength="20" onblur="formatNumber2(this,this.value,15,2);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>
    *</span></td>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_songayanhan']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="GRDAY" type="text" style="background:<?php echo $this->_tpl_vars['colorngayanhan']; ?>
"  value="<?php echo $this->_tpl_vars['GRDAY']; ?>
" size="20" maxlength="10" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    *</span></td>
  </tr>
  
   <tr>
    <td><?php echo $this->_tpl_vars['lbl_laisuat']; ?>
</td>
    <td nowrap="nowrap">
      <input name="INRATE" id="INRATE" type="text" style="background:<?php echo $this->_tpl_vars['colorlaisuat']; ?>
" value="<?php echo $this->_tpl_vars['INRATE']; ?>
" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    % n&#259;m <span style="color:#FF0000">*</span></td>
    <td><?php echo $this->_tpl_vars['lbl_malaisuat']; ?>
</td>
    <td><input name="INRCOD" id="INRCOD" type="text" style="background:<?php echo $this->_tpl_vars['colorINRCOD']; ?>
" value="<?php echo $this->_tpl_vars['INRCOD']; ?>
" size="20" maxlength="5" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"/></td>
  </tr>
  <tr>
    <td><?php echo $this->_tpl_vars['lbl_laisuattoithieu']; ?>
</td>
    <td><input name="INRFLR" type="text" style="background:<?php echo $this->_tpl_vars['colorLSsan']; ?>
" value="<?php echo $this->_tpl_vars['INRFLR']; ?>
" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright"  />
      % n&#259;m <span style="color:#FF0000">*</span></td>
    <td><?php echo $this->_tpl_vars['lbl_laisuattoida']; ?>
</td>
    <td nowrap="nowrap"><input name="INRCEIL" type="text" style="background:<?php echo $this->_tpl_vars['colorLStran']; ?>
" value="<?php echo $this->_tpl_vars['INRCEIL']; ?>
" size="20" maxlength="10" onblur="formatNumber2(this,this.value,4,4);" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" class="textright" />
    % n&#259;m <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_TKGLhachtoan']; ?>
</td>
    <td nowrap="nowrap"><span style="color:#FF0000">
      <input name="GLPRN" id="GLPRN" type="text"  value="<?php echo $this->_tpl_vars['GLPRN']; ?>
" style="background:<?php echo $this->_tpl_vars['colorGLhachtoan']; ?>
" size="20" maxlength="10" />
      *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLPRN', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2232" id="replacement_binoculars" value="     " /></td><td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_TKGLhachtoanlai']; ?>
</td>
      <td nowrap="nowrap"><span style="color:#FF0000">
        <input name="GLINT" id="GLINT" type="text"  value="<?php echo $this->_tpl_vars['GLINT']; ?>
" style="background:<?php echo $this->_tpl_vars['colorGLhachtoanlai']; ?>
" size="20" maxlength="10" />
        *</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLINT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2233" id="replacement_binoculars" value="     " /></td></tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_TKGLhachtoanthunhap']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="GLINC" id="GLINC" type="text"  value="<?php echo $this->_tpl_vars['GLINC']; ?>
" size="20" style="background:<?php echo $this->_tpl_vars['colorGLhachtoanthunhap']; ?>
" maxlength="10" />
*</span>
      <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLINC', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2234" id="replacement_binoculars" value="     " /></td>
    <td><?php echo $this->_tpl_vars['lbl_VARRATEFLR']; ?>
</td>
    <td><input name="VARRATEFLR" type="text" class="textright" id="VARRATEFLR" style="background:<?php echo $this->_tpl_vars['colorVARRATEFLR']; ?>
" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['VARRATEFLR']; ?>
" size="20" maxlength="10" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_FDPRDCODE']; ?>
</td>
    <td><span style="color:#FF0000">
      <input name="FDPRDCODE" id="FDPRDCODE" type="text"  value="<?php echo $this->_tpl_vars['FDPRDCODE']; ?>
" size="20" style="background:<?php echo $this->_tpl_vars['colorFDPRDCODE']; ?>
" maxlength="10" />
*</span>
      <input type="button" onclick="mywindow = window.open('sanphamthauchi_id.php?name=FDPRDCODE', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat22342" id="replacement_binoculars" value="     " /></td>
    <td><?php echo $this->_tpl_vars['lbl_VARRATECEIL']; ?>
</td>
    <td><input name="VARRATECEIL" type="text" class="textright" id="VARRATECEIL" style="background:<?php echo $this->_tpl_vars['colorVARRATECEIL']; ?>
" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['VARRATECEIL']; ?>
" size="20" maxlength="10" /></td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_VARRATEADD']; ?>
</td>
    <td><input name="VARRATEADD" type="text" class="textright" id="VARRATEADD" style="background:<?php echo $this->_tpl_vars['colorVARRATEADD']; ?>
" onblur="formatNumber2(this,this.value,4,4);" onchange="allowOnlyFloatingPointNumbers(this,this.value);" onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['VARRATEADD']; ?>
" size="20" maxlength="10"></td>
    <td><?php echo $this->_tpl_vars['lbl_CHINRATE']; ?>
</td>
    <td><select name="CHINRATE" size="1" id="CHINRATE"> 
	<option value=""></option>
    <?php $_from = $this->_tpl_vars['cbo_CHINRATE']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['v']; ?>
" <?php if ($this->_tpl_vars['v'] == $this->_tpl_vars['CHINRATE']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>  
   <?php endforeach; endif; unset($_from); ?> 
    </select>    </td>
  </tr>
  <tr>
    <td nowrap="nowrap"><?php echo $this->_tpl_vars['lbl_MAXTERN']; ?>
</td>
    <td><input name="MAXTERN" type="text" class="textright" id="MAXTERN" style="background:<?php echo $this->_tpl_vars['colorMAXTERN']; ?>
"  onkeypress="return numberOnly(event);" value="<?php echo $this->_tpl_vars['MAXTERN']; ?>
" size="20" maxlength="5" /></td>
    <td><?php echo $this->_tpl_vars['lbl_MAXTERCD']; ?>
</td>
    <td>
      <select id="MAXTERCD" name="MAXTERCD" size="1" style="width:100px;background:<?php echo $this->_tpl_vars['colorMAXTERCD']; ?>
" >
    <?php $_from = $this->_tpl_vars['cbo_MAXTERCD']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
        <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['k'] == $this->_tpl_vars['MAXTERCD']): ?> selected="selected" <?php endif; ?> ><?php echo $this->_tpl_vars['v']; ?>
</option>   
   <?php endforeach; endif; unset($_from); ?> 
      </select>      </td>
  </tr>
  <tr>
    <td nowrap="nowrap">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
 
<tr>
<td colspan="4">
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td colspan="4" align="right" nowrap="nowrap">
    <input type="button" name="cancle" id="cancle" value="<?php echo $this->_tpl_vars['ten_cancle']; ?>
" class="button_style" onclick="activeform(this.form,'ODTYPE');" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
    <input type="submit" name="capnhat" value="<?php echo $this->_tpl_vars['ten_cap_nhat']; ?>
" <?php if ($this->_tpl_vars['activefield'] == 'disabled'): ?>disabled="disabled" <?php endif; ?> class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'" /></td>
  </tr>
<tr>
<td colspan="4" align="left" nowrap="nowrap">
<input name="addnew" type="submit" value="<?php echo $this->_tpl_vars['ten_themmoi']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" />
<input name="detail" type="submit" value="<?php echo $this->_tpl_vars['ten_chitiet']; ?>
" class="button_style" onclick="" onmouseover="this.className='button_style_hover'" onmouseout="this.className='button_style'" /></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr>

<tr>
<td colspan="2">
<input type="button" value="<?php echo $this->_tpl_vars['ten_trove']; ?>
" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="2"> 
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
   <?php $_from = $this->_tpl_vars['chuyentrang']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
      <option value="<?php echo $this->_tpl_vars['k']; ?>
" <?php if ($this->_tpl_vars['select_cbo_chuyentrang'] == $this->_tpl_vars['k']): ?> selected="selected" <?php endif; ?>><?php echo $this->_tpl_vars['v']; ?>
</option>
 	<?php endforeach; endif; unset($_from); ?>
</select>
<input name="action" type="submit" value="<?php echo $this->_tpl_vars['ten_thuc_hien']; ?>
" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
</tr>
</table>

</form>
<?php echo $this->_tpl_vars['javascriptsetstyle']; ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>